#ifndef _DevicesPWM_H_
#define _DevicesPWM_H_



#define timerx_channel0_output_pulse_set(TIMx, duty) TIMx->CH1CVR = (uint32_t)(duty * TIMx->ATRLR)
#define timerx_channel1_output_pulse_set(TIMx, duty) TIMx->CH2CVR = (uint32_t)(duty * TIMx->ATRLR)
#define timerx_channel2_output_pulse_set(TIMx, duty) TIMx->CH3CVR = (uint32_t)(duty * TIMx->ATRLR)
#define timerx_channel3_output_pulse_set(TIMx, duty) TIMx->CH4CVR = (uint32_t)(duty * TIMx->ATRLR)



int8_t cTimer1PWMOutInit(void);


#endif
